function plotdata(filename,sheetnum)

%read data
[num,txt,raw] = xlsread(filename,sheetnum);

%painting
figure
x = num(:,1);
y = num(:,2:size(num,2));
plot(x,y,'.-');

%%%%%%%%%%%%%%%%test settings%%%%%%%%%%%%%%%%
title(txt(1,1));
xlabel(txt(1,2));
ylabel(txt(2,1));
%axis([0,0.5,0,100])
legend(txt(1,3:end),'FontSize',12,'Location','northeastoutside')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%other settings
box on 
grid on

end